class DbPopulate2 < ActiveRecord::Migration
  def self.up
    add_column :country_localizations, :country_id, :integer
#    @country = Country.create(:countryId => 'BR')
#    @country.country_localizations.create(:name => "Brasil", :language => "pt")
#    @country.country_localizations.create(:name => "Brazil", :language => "en")
#    @country.save
#
#    @country = Country.create(:countryId => 'AR')
#    @country.country_localizations.create(:name => "Argentina", :language => "pt")
#    @country.country_localizations.create(:name => "Argentina", :language => "en")
#    @country.save
#
#    @country = Country.create(:countryId => 'IT')
#    @country.country_localizations.create(:name => "Italia", :language => "pt")
#    @country.country_localizations.create(:name => "Italia", :language => "en")
#    @country.save
#
#    @country = Country.create(:countryId => 'EN')
#    @country.country_localizations.create(:name => "Inglaterra", :language => "pt")
#    @country.country_localizations.create(:name => "England", :language => "en")
#    @country.save
#
#    @country = Country.create(:countryId => 'SP')
#    @country.country_localizations.create(:name => "Epanha", :language => "pt")
#    @country.country_localizations.create(:name => "Spain", :language => "en")
#    @country.save
    
  end

  def self.down
  end
end
